package Data;

import BESA.Kernell.Agent.Event.DataBESA;

import mundo.Malla;

/**
 *
 * @author Andres
 */
public class SensorData extends DataBESA{
    private Malla malla;
    String action=null;
    String data=null;
    
    public SensorData() {
        malla = new Malla();
        
    }

    public SensorData(Malla pmalla) {
        this.malla = pmalla;
    }

    /**
     * @return the malla
     */
    public Malla getMalla() {
        return malla;
    }

    /**
     * @param malla the malla to set
     */
    public void setMalla(Malla malla) {
        this.malla = malla;
    }

    public void ActionData(String action, String data) {
        this.action=action;
        this.data=data;
    }
    
    public String getData() {
        return data;
    }
    public String getAction() {
        return action;
    }
}
